package edu.nf.llmtest.common.annotation;


import edu.nf.llmtest.common.enumeration.ActionType;
import edu.nf.llmtest.common.enumeration.TargetType;

import java.lang.annotation.*;

/**
 * 用于同步es和redis数据的注解
 * */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SyncData {
    TargetType[] targets() default { TargetType.REDIS, TargetType.ES };
    ActionType action();
}
